<?php

$id = intval($_REQUEST['id']);

//include 'conn.php';
include '../conectar_bd.php';
conectar_bd();

$sql = "DELETE from tbl_users where id_usuario='".$id."'";
$result = @mysql_query($sql);
if ($result){
	echo json_encode(array('success'=>true));
} else {
	echo json_encode(array('msg'=>'Error a eliminar datos.'));
}
?>